def print_info(name,gender=True,title=''):
    gender_text = '男生'
    if not gender:
        gender_text = '女生'

    print(f'{title}{name}是{gender_text}')

print_info('小明')
print_info('小红',False,'板砖')
print_info('小明',title='萨阿丹')
#gender = False是keyword 参数


